package com.ikun.subject.domain.handler.subject;

import com.ikun.subject.common.enums.SubjectInfoTypeEnum;
import com.ikun.subject.domain.entity.SubjectInfoBO;
import com.ikun.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {

    /**
    * @Description: 枚举身份的识别
    * @Author: gqh
    * @Date: 2024/5/5 11:41
    */
    SubjectInfoTypeEnum getHandlerType();

    /**
    * @Description: 实际的题目的插入
    * @Author: gqh
    * @Date: 2024/5/5 11:41
    */
    void add(SubjectInfoBO subjectInfoBO);


    SubjectOptionBO query(int subjectId);

}
